package cn.soft863.users.service.impl;

import java.util.List;
import java.util.Map;

import cn.soft863.common.util.PageInfoUtil;
import cn.soft863.users.dao.IAOrdersDao;
import cn.soft863.users.dao.IAOrdersHistoryDao;
import cn.soft863.users.dao.impl.AOrdersDaoImpl;
import cn.soft863.users.dao.impl.AOrdersHistoryDaoImpl;
import cn.soft863.users.pojo.AOrders;
import cn.soft863.users.pojo.AOrdersHistory;
import cn.soft863.users.service.OrdersHistoryService;
import cn.soft863.users.service.OrdersService;

public class OrdersHistoryServiceImpl implements OrdersHistoryService
{

	private IAOrdersHistoryDao orderHistoryDao = new AOrdersHistoryDaoImpl();
	@Override
	public int saveOneorderHistoryService(AOrdersHistory orderHis)
	{
		// TODO Auto-generated method stub
		return this.orderHistoryDao.saveOneDao(orderHis);
	}

	@Override
	public int updateOneorderHistoryService(AOrdersHistory orderHis)
	{
		// TODO Auto-generated method stub
		return this.orderHistoryDao.updateOneDao(orderHis);
	}

	@Override
	public List<AOrdersHistory> findCondListorderHistoryService(PageInfoUtil pageInfoUtil, Map<String, Object> condMap)
	{
		// TODO Auto-generated method stub
		return this.orderHistoryDao.findCondListDao(pageInfoUtil, condMap);
	}

	@Override
	public AOrdersHistory findOneorderHistoryService(Map<String, Object> condMap)
	{
		// TODO Auto-generated method stub
		return this.orderHistoryDao.findOneDao(condMap);
	}

}
